package com.gviiii.baiduai;

import com.gviiii.baiduai.config.impl.ImageServiceConfigRegistry;
import com.gviiii.baiduai.config.impl.ItemServiceConfigRegistry;
import com.gviiii.baiduai.config.impl.SdkConfigRegistry;
import com.gviiii.baiduai.config.impl.TokenConfigRegistry;
import com.gviiii.baiduai.file.FileScanner;

/**
 * 启动类
 */
public class App {
    public static void main(String[] args) throws InterruptedException {
        ItemServiceConfigRegistry itemscr=new ItemServiceConfigRegistry();
        ImageServiceConfigRegistry imagescr=new ImageServiceConfigRegistry();
        TokenConfigRegistry tcr=new TokenConfigRegistry();
        SdkConfigRegistry scr=new SdkConfigRegistry("face.properties");

        FileScanner scanner=new FileScanner(itemscr.getConfig("hat").getSource(),"hat");
        scanner.start();
    }
}
